<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 98 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts98p0{position:absolute;left:106px;top:97px;}
 .ts98p1{position:absolute;left:352px;top:97px;}
 .ts98p3{position:absolute;left:672px;top:97px;}
 .ts98p7{position:absolute;left:106px;top:113px;}
 .ts98p8{position:absolute;left:706px;top:1026px;}
 .ts98p9{position:absolute;left:331px;top:1044px;}
 .ts98p13{position:absolute;left:161px;top:146px;}
 .ts98p15{position:absolute;left:227px;top:146px;}
 .ts98p16{position:absolute;left:227px;top:164px;}
 .ts98p18{position:absolute;left:106px;top:183px;}
 .ts98p19{position:absolute;left:106px;top:201px;}
 .ts98p20{position:absolute;left:106px;top:220px;}
 .ts98p21{position:absolute;left:106px;top:238px;}
 .ts98p23{position:absolute;left:106px;top:256px;}
 .ts98p25{position:absolute;left:106px;top:275px;}
 .ts98p26{position:absolute;left:106px;top:293px;}
 .ts98p27{position:absolute;left:106px;top:312px;}
 .ts98p28{position:absolute;left:106px;top:330px;}
 .ts98p30{position:absolute;left:106px;top:348px;}
 .ts98p32{position:absolute;left:106px;top:367px;}
 .ts98p33{position:absolute;left:106px;top:386px;}
 .ts98p35{position:absolute;left:106px;top:404px;}
 .ts98p36{position:absolute;left:106px;top:422px;}
 .ts98p38{position:absolute;left:106px;top:441px;}
 .ts98p40{position:absolute;left:106px;top:459px;}
 .ts98p43{position:absolute;left:106px;top:477px;}
 .ts98p45{position:absolute;left:106px;top:495px;}
 .ts98p47{position:absolute;left:106px;top:513px;}
 .ts98p48{position:absolute;left:106px;top:532px;}
 .ts98p49{position:absolute;left:106px;top:550px;}
 .ts98p51{position:absolute;left:106px;top:569px;}
 .ts98p52{position:absolute;left:106px;top:587px;}
 .ts98p53{position:absolute;left:106px;top:605px;}
 .ts98p55{position:absolute;left:106px;top:624px;}
 .ts98p56{position:absolute;left:106px;top:643px;}
 .ts98p58{position:absolute;left:106px;top:661px;}
 .ts98p60{position:absolute;left:106px;top:680px;}

 /* Font Styles */
 .ft0p98{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p98{font-weight:normal;}
 .ft2p98{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p98{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p98{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p98{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p98{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground98{position:absolute;left:97px;top:145px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index97.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;98 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index99.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground98><img src="./background98.png" width="640" height="910" border="0" alt=""></div>
<div class=ts98p0><span class="ft0p98"> </span></div>
<div class=ts98p1><span class="ft0p98">Gravitybox Schedule Primer<span class="ft1p98"> </span></span></div>
<div class=ts98p3><span class="ft0p98">Page 96&nbsp; </span></div>
<div class=ts98p7><span class="ft2p98"> </span></div>
<div class=ts98p8><span class="ft3p98"> </span></div>
<div class=ts98p9><span class="ft4p98">1998&#45;2004 Gravitybox Software LLC<span class="ft3p98"> </span></span></div>
<div class=ts98p13><span class="ft5p98">Item </span></div>
<div class=ts98p15><span class="ft5p98">Given a SchedulePrinter object's index or name, this method will return </span></div>
<div class=ts98p16><span class="ft5p98">a SchedulePrinter object. </span></div>
<div class=ts98p18><span class="ft5p98"> </span></div>
<div class=ts98p19><span class="ft5p98"> </span></div>
<div class=ts98p20><span class="ft5p98">Each SchedulePrinter object has just one property. This is its DeviceName property. </span></div>
<div class=ts98p21><span class="ft5p98">This property is used as a parameter to the GoPrint method, to define a valid system </span></div>
<div class=ts98p23><span class="ft5p98">printer. </span></div>
<div class=ts98p25><span class="ft5p98"> </span></div>
<div class=ts98p26><span class="ft5p98">If you wished to print a particular part of a schedule, you could do so from code. You </span></div>
<div class=ts98p27><span class="ft5p98">must first setup the PrinterParameter object. Most of the properties are defaulted to the </span></div>
<div class=ts98p28><span class="ft5p98">most common values. However for completeness I have included some of the settings </span></div>
<div class=ts98p30><span class="ft5p98">here. </span></div>
<div class=ts98p32><span class="ft5p98"> </span></div>
<div class=ts98p33><span class="ft6p98">Dim oPrinterParameters As CPrinterParameter </span></div>
<div class=ts98p35><span class="ft6p98"> </span></div>
<div class=ts98p36><span class="ft6p98">&nbsp; Set oPrinterParameters = New CPrinterParameter </span></div>
<div class=ts98p38><span class="ft6p98">&nbsp; oPrinterParameters.PrinterDeviceName = Printer.DeviceName </span></div>
<div class=ts98p40><span class="ft6p98">&nbsp; oPrinterParameters.Orientation = 1 </span></div>
<div class=ts98p43><span class="ft6p98">&nbsp; oPrinterParameters.Copies = 1 </span></div>
<div class=ts98p45><span class="ft6p98">&nbsp; Set oPrinterParameters = Nothing </span></div>
<div class=ts98p47><span class="ft5p98"> </span></div>
<div class=ts98p48><span class="ft5p98">Afterwards you may perform the actual printing. In this example, I assume that you wish </span></div>
<div class=ts98p49><span class="ft5p98">to print the schedule from August 1 through the 31 of 2002. I also assume that you wish </span></div>
<div class=ts98p51><span class="ft5p98">to print from 8 AM to 6 PM. These parameters are valid if the schedule is displaying </span></div>
<div class=ts98p52><span class="ft5p98">dates and times. If the schedule is displaying rooms and times then the first two </span></div>
<div class=ts98p53><span class="ft5p98">parameters should be valid room names or indexes. </span></div>
<div class=ts98p55><span class="ft5p98"> </span></div>
<div class=ts98p56><span class="ft6p98">Call oChild.Schedule1.GoPrint(#8/1/2002#, #8/31/2002#, #8:00:00 </span></div>
<div class=ts98p58><span class="ft6p98">AM#, #6:00:00 PM#, oPrinterParameters) </span></div>
<div class=ts98p60><span class="ft5p98"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
